import { pubRequire } from '@utils/public'
const baseUrl = '/lives/gifts'
/*直播间礼品列表*/
export function getLiveGiftList(obj, callbBack, errBack) {
  return pubRequire('get', `${baseUrl}`, obj, callbBack, errBack)
}
/*编辑频道设置表单提交*/
export function putLiveGiftList(obj, callbBack, errBack) {
  return pubRequire('put', `${baseUrl}/${obj.id}`, obj, callbBack, errBack)
}
/*新增礼物*/
export function addLiveGiftList(obj, callbBack, errBack) {
  return pubRequire('post', `${baseUrl}`, obj, callbBack, errBack)
}
/*删除礼物*/
export function deleteLiveGiftList(obj, callbBack, errBack) {
  return pubRequire('delete', `${baseUrl}/${obj.id}`, obj, callbBack, errBack)
}
